package com.wcs.exam.dao.impl.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试卷标题
 * </p>
 *
 * @author wcs
 * @since 2025-03-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("paper_title")
public class PaperTitle implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 试卷ID
     */
    private Long paperId;

    /**
     * 标题名称
     */
    private String titleName;

    /**
     * 标题分数
     */
    private BigDecimal titleScore;

    /**
     * 单选题数量
     */
    private Integer singleChoiceCount;

    /**
     * 多选题数量
     */
    private Integer multipleChoiceCount;

    /**
     * 判断题数量
     */
    private Integer judgmentCount;

    /**
     * 填空题数量
     */
    private Integer gapFillingCount;

    /**
     * 简答题数量
     */
    private Integer shortAnswerCount;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;
}
